package com.test.mapper;


import com.test.model.dto.page.QuestionPageQuery;
import com.test.model.dto.wrongTime.WrongTimeCountsDTO;
import com.test.model.pojo.TrueFalseQuestion;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TrueFalseQuestionMapper {
    List<TrueFalseQuestion> getAllTrueFalseQuestions();
    Integer getCounts();
    TrueFalseQuestion getQuestionById(Integer id);
    void updateUserQuestion(WrongTimeCountsDTO wrongTimeCountsDTO);

    List<TrueFalseQuestion> getTrueFalseQuestionPage(QuestionPageQuery questionPageQuery);
}
